package com.ali.edu.web.controller;

import com.ali.edu.model.Employee;
import com.ali.edu.web.controller.base.BaseController;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/employee")
public class EmployeeController extends BaseController<Employee> {

    @RequestMapping("/manage")
    public String manage() {
        return MANAGE_PAGE;
    }

    @RequestMapping("/info")
    public String info() {
        return INFO_PAGE;
    }

    @RequestMapping("/edit")
    public String edit() {
        return EDIT_PAGE;
    }

}
